#
# Constant for detecting changes to password fields
#
DUMMYPASSWORD = "*-*-*-*-"

#
# Constants for the column headings in the torrent list
#
COL_TITLE         = 0
COL_SIZE          = 1
COL_DONESIZE      = 2
COL_PROGRESS      = 3
COL_DLSPEED       = 4
COL_ULSPEED       = 5
COL_ETA           = 6
COL_RATIO         = 7
COL_RESOURCES     = 8
COL_BTSTATUS      = 9
COL_PRIO          = 10
COL_DLSIZE        = 11
COL_ULSIZE        = 12
COL_MESSAGE       = 13
COL_TRACKER       = 14
COL_ADDED_ON      = 15
COL_COMPLETED_ON  = 16
COL_SEEDING_TIME  = 17

#
# Constants used for headings in the file info list
#
FILEINFO_FILENAME = 0
FILEINFO_SIZE     = 1
FILEINFO_PROGRESS = 2
FILEINFO_MD5      = 3
FILEINFO_CRC32    = 4
FILEINFO_SHA1     = 5
FILEINFO_ED2K     = 6

# Actions
ACTION_SEPARATOR            = -1
ACTION_MENUFILE	            = 0
ACTION_MENUVIEW             = 1
ACTION_MENUEDIT             = 2
ACTION_MENUHELP             = 3
ACTION_MENUTOOLS            = 4

ACTION_PAGE_SELECTION       = 5
ACTION_VIEWTRANSFER         = 6
ACTION_VIEWRSS              = 7
ACTION_VIEWSEARCH           = 8
ACTION_VIEWLOG              = 9
ACTION_VIEWTOOLBAR          = 10
ACTION_CUSTOMIZE_TOOLBAR    = 11
ACTION_VIEWSTATUSBAR        = 12
ACTION_THEME                = 13

ACTION_STOPALL              = 14
ACTION_UNSTOPALL            = 15
ACTION_QUEUEACTIVE          = 16
ACTION_CLEARALL             = 17

ACTION_RESUME               = 18
ACTION_STOP                 = 19
ACTION_PAUSE                = 20
ACTION_QUEUE                = 21
ACTION_SUPERSEED            = 22
ACTION_HASHCHECK            = 23

ACTION_REMOVE               = 24
ACTION_REMOVEFILE           = 25

ACTION_SET_PRIORITY         = 26

ACTION_SAVETORRENT          = 27

ACTION_OPENINCOMING         = 28
ACTION_OPENDEST             = 29
ACTION_OPENFILEDEST         = 30
ACTION_CHANGEDEST           = 31

ACTION_SCRAPE               = 32
ACTION_REANNOUNCE           = 33
ACTION_ALLOCATE             = 34

ACTION_TORRENTDETAILS       = 35

ACTION_MENU_ADDTORRENT      = 36
ACTION_ADDTORRENTFROMFILE   = 37
ACTION_ADDTORRENTNONDEFAULT = 38
ACTION_ADDTORRENTURL        = 39
ACTION_SCANTORRENTDIR       = 40
ACTION_SCANURL              = 41

ACTION_MAKER                = 42
ACTION_PREFERENCES          = 43

ACTION_HOMEPAGE             = 44
ACTION_UPDATECHECK          = 45
ACTION_ABOUT                = 46

ACTION_ONIDLE               = 47
ACTION_CMDSCHEDULER         = 48
ACTION_CMDSCHEDULERDIALOG   = 49
ACTION_DIRSCANNER           = 50
ACTION_WEBSERVICE           = 51
ACTION_WEBDIALOG            = 52
ACTION_TEMPLATESDIALOG      = 53
ACTION_TEMPLATESMENU        = 54

ACTION_MOVEUP               = 55
ACTION_MOVEDOWN             = 56
ACTION_MOVETOP              = 57
ACTION_MOVEBOTTOM           = 58

ACTION_EXIT                 = 100

# StatusBar
STATUSBAR_RUNNING   = 1
STATUSBAR_DHT       = 2
STATUSBAR_DLSPEED   = 3
STATUSBAR_ULSPEED   = 4

#RSS
RSS_COLUMN_TITLE    = 0
RSS_COLUMN_URL      = 1
RSS_COLUMN_DATE     = 2

# Status
STATUS_QUEUE      = 0
STATUS_STOP       = 200
STATUS_ACTIVE     = 100
STATUS_HASHCHECK  = 101
STATUS_PAUSE      = 102
STATUS_SUPERSEED  = 103
STATUS_FINISHED   = 300

# Status Icons
ICON_STOPPED = 3
ICON_WORKING = 4
ICON_COMPLETED = 5 
ICON_SEEDING = 6
ICON_SUPERSEED = 7
ICON_PAUSED = 8
ICON_QUEUE = 9
ICON_CONNECTING = 10
ICON_CHECKING = 11
ICON_COMPLETED_QUEUE = 12

# Torrent Config
WRITEFLAG_SRC          = 0
WRITEFLAG_BASICINFO    = 1
WRITEFLAG_STATUS       = 2
WRITEFLAG_PRIO         = 3
WRITEFLAG_FILEPRIO     = 4
WRITEFLAG_FILEPROGRESS = 5
WRITEFLAG_PROGRESS     = 6
WRITEFLAG_UPLOADPARAMS = 7
WRITEFLAG_NAMEPARAMS   = 8
WRITEFLAG_SEEDTIME     = 9
